Optimal. Leaf size=55 \[ \frac{3}{8} \sin (a) \text{CosIntegral}\left (b x^2\right )-\frac{1}{8} \sin (3 a) \text{CosIntegral}\left (3 b x^2\right )+\frac{3}{8} \cos (a) \text{Si}\left (b x^2\right )-\frac{1}{8} \cos (3 a) \text{Si}\left (3 b x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0953006, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 4, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {3403, 3377, 3376, 3375} \[ \frac{3}{8} \sin (a) \text{CosIntegral}\left (b x^2\right )-\frac{1}{8} \sin (3 a) \text{CosIntegral}\left (3 b x^2\right )+\frac{3}{8} \cos (a) \text{Si}\left (b x^2\right )-\frac{1}{8} \cos (3 a) \text{Si}\left (3 b x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3403
Rule 3377
Rule 3376
Rule 3375
Rubi steps
\begin{align*} \int \frac{\sin ^3\left (a+b x^2\right )}{x} \, dx &=\int \left (\frac{3 \sin \left (a+b x^2\right )}{4 x}-\frac{\sin \left (3 a+3 b x^2\right )}{4 x}\right ) \, dx\\ &=-\left (\frac{1}{4} \int \frac{\sin \left (3 a+3 b x^2\right )}{x} \, dx\right )+\frac{3}{4} \int \frac{\sin \left (a+b x^2\right )}{x} \, dx\\ &=\frac{1}{4} (3 \cos (a)) \int \frac{\sin \left (b x^2\right )}{x} \, dx-\frac{1}{4} \cos (3 a) \int \frac{\sin \left (3 b x^2\right )}{x} \, dx+\frac{1}{4} (3 \sin (a)) \int \frac{\cos \left (b x^2\right )}{x} \, dx-\frac{1}{4} \sin (3 a) \int \frac{\cos \left (3 b x^2\right )}{x} \, dx\\ &=\frac{3}{8} \text{Ci}\left (b x^2\right ) \sin (a)-\frac{1}{8} \text{Ci}\left (3 b x^2\right ) \sin (3 a)+\frac{3}{8} \cos (a) \text{Si}\left (b x^2\right )-\frac{1}{8} \cos (3 a) \text{Si}\left (3 b x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0738422, size = 51, normalized size = 0.93 \[ \frac{1}{8} \left (3 \sin (a) \text{CosIntegral}\left (b x^2\right )-\sin (3 a) \text{CosIntegral}\left (3 b x^2\right )+3 \cos (a) \text{Si}\left (b x^2\right )-\cos (3 a) \text{Si}\left (3 b x^2\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.027, size = 48, normalized size = 0.9 \begin{align*}{\frac{3\,\cos \left ( a \right ){\it Si} \left ( b{x}^{2} \right ) }{8}}-{\frac{\cos \left ( 3\,a \right ){\it Si} \left ( 3\,b{x}^{2} \right ) }{8}}+{\frac{3\,{\it Ci} \left ( b{x}^{2} \right ) \sin \left ( a \right ) }{8}}-{\frac{{\it Ci} \left ( 3\,b{x}^{2} \right ) \sin \left ( 3\,a \right ) }{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.22061, size = 120, normalized size = 2.18 \begin{align*} \frac{1}{16} \,{\left (i \,{\rm Ei}\left (3 i \, b x^{2}\right ) - i \,{\rm Ei}\left (-3 i \, b x^{2}\right )\right )} \cos \left (3 \, a\right ) + \frac{1}{16} \,{\left (-3 i \,{\rm Ei}\left (i \, b x^{2}\right ) + 3 i \,{\rm Ei}\left (-i \, b x^{2}\right )\right )} \cos \left (a\right ) - \frac{1}{16} \,{\left ({\rm Ei}\left (3 i \, b x^{2}\right ) +{\rm Ei}\left (-3 i \, b x^{2}\right )\right )} \sin \left (3 \, a\right ) + \frac{3}{16} \,{\left ({\rm Ei}\left (i \, b x^{2}\right ) +{\rm Ei}\left (-i \, b x^{2}\right )\right )} \sin \left (a\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.30419, size = 262, normalized size = 4.76 \begin{align*} -\frac{1}{16} \,{\left (\operatorname{Ci}\left (3 \, b x^{2}\right ) + \operatorname{Ci}\left (-3 \, b x^{2}\right )\right )} \sin \left (3 \, a\right ) + \frac{3}{16} \,{\left (\operatorname{Ci}\left (b x^{2}\right ) + \operatorname{Ci}\left (-b x^{2}\right )\right )} \sin \left (a\right ) - \frac{1}{8} \, \cos \left (3 \, a\right ) \operatorname{Si}\left (3 \, b x^{2}\right ) + \frac{3}{8} \, \cos \left (a\right ) \operatorname{Si}\left (b x^{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin ^{3}{\left (a + b x^{2} \right )}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12242, size = 63, normalized size = 1.15 \begin{align*} -\frac{1}{8} \, \operatorname{Ci}\left (3 \, b x^{2}\right ) \sin \left (3 \, a\right ) + \frac{3}{8} \, \operatorname{Ci}\left (b x^{2}\right ) \sin \left (a\right ) + \frac{3}{8} \, \cos \left (a\right ) \operatorname{Si}\left (b x^{2}\right ) + \frac{1}{8} \, \cos \left (3 \, a\right ) \operatorname{Si}\left (-3 \, b x^{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]